package com.jsh.erp.remote;

import com.jsh.erp.service.orgaUserRel.OrgaUserRelService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RequestMapping("/remote/api/orgaUserRel")
@RestController
public class OrgaUserRelApi {
    @Resource
    private OrgaUserRelService orgaUserRelService;


    @GetMapping("/getUserIdListByUserId")
    public String getUserIdListByUserId(Long userId) throws Exception{
        return orgaUserRelService.getUserIdListByUserId(userId);
    }
}
